﻿using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Threading.Tasks;

namespace Odyssey.Http.Implementations
{
    public class HttpConfiguration : IHttpConfiguration
    {
        public string DefaultClientName {
            get; set;
        }

        public int DefaultTimeoutSeconds {
            get; set;
        }

        public Func<HttpResponseMessage, Task> HttpResponseFilter {
            get; set;
        }

        public Func<JsonSerializerSettings> JsonSerializerSettingsBuilder {
            get; set;
        }
    }
}
